package org.blackcat.dao;

import org.apache.ibatis.annotations.Param;
import org.blackcat.domain.Temperature;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * @author 詹泽
 * @date 2017/2/22
 */
@Repository
public interface TemperatureDao {

    Integer addTemerature(Temperature temperature);

    //查询
    List<Temperature> listTemperature(@Param("userId") String userId,@Param("minDate") String minDate,@Param("maxDate") String maxDate);

}
